[INFO] cloning repository https://github.com/kernelmachine/rsml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kernelmachine/rsml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkernelmachine%2Frsml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkernelmachine%2Frsml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba18ae61ebe818f95b3e62af8a9de7d1eb169f21
[INFO] testing kernelmachine/rsml against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkernelmachine%2Frsml" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kernelmachine/rsml on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kernelmachine/rsml
[INFO] finished tweaking git repo https://github.com/kernelmachine/rsml
[INFO] tweaked toml for git repo https://github.com/kernelmachine/rsml written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/kernelmachine/rsml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d20731070b11a0a45851ef16a6e2660c92752c7c8b933787c1507fb025b748d1
[INFO] running `Command { std: "docker" "start" "-a" "d20731070b11a0a45851ef16a6e2660c92752c7c8b933787c1507fb025b748d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d20731070b11a0a45851ef16a6e2660c92752c7c8b933787c1507fb025b748d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d20731070b11a0a45851ef16a6e2660c92752c7c8b933787c1507fb025b748d1", kill_on_drop: false }`
[INFO] [stdout] d20731070b11a0a45851ef16a6e2660c92752c7c8b933787c1507fb025b748d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4cfa6d501cd4dddd9f12c216f8a48f4415279703dd2c77cec209a746576299d3
[INFO] running `Command { std: "docker" "start" "-a" "4cfa6d501cd4dddd9f12c216f8a48f4415279703dd2c77cec209a746576299d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling typenum v1.2.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling rust-tfidf v1.1.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling matrixmultiply v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling ndarray v0.15.1
[INFO] [stderr]    Compiling rand_distr v0.4.0
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling rsml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(custom_derive, plugin)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: subsumed by `#[proc_macro_derive]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/random_forest/model.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::StdRng`
[INFO] [stdout]  --> src/random_forest/model.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::StdRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StdRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use(s)]
[INFO] [stdout]   |             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/tree/model.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/tree/model.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/tree/model.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/tree/model.rs:56:40
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/random_forest/model.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/random_forest/model.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/tfidf_helper/tfidf_helper.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 99 |         97...122 => true,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/tfidf_helper/tfidf_helper.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `iter` exists for struct `ArrayBase<ViewRepr<&f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:135:37
[INFO] [stdout]     |
[INFO] [stdout] 135 |         for (idx, &elem) in feature.iter().enumerate() {
[INFO] [stdout]     |                                     ^^^^ method cannot be called on `ArrayBase<ViewRepr<&f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `iter` exists for struct `ArrayBase<ViewRepr<&f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:179:36
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut xy_pairs = feature.iter().zip(target.iter()).collect::<Vec<_>>();
[INFO] [stdout]     |                                    ^^^^ method cannot be called on `ArrayBase<ViewRepr<&f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `iter` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:179:54
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut xy_pairs = feature.iter().zip(target.iter()).collect::<Vec<_>>();
[INFO] [stdout]     |                                                      ^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `scalar_sum` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:183:33
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let target_sum = target.scalar_sum();
[INFO] [stdout]     |                                 ^^^^^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:190:61
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let left_proportion = cumulative_count / target.len() as f64;
[INFO] [stdout]     |                                                             ^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `scalar_sum` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:239:31
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let num_plus = target.scalar_sum();
[INFO] [stdout]     |                               ^^^^^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:240:52
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let probability = num_plus as f64 / target.len() as f64;
[INFO] [stdout]     |                                                    ^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:244:19
[INFO] [stdout]     |
[INFO] [stdout] 244 |            target.len() < self.min_samples_split as usize {
[INFO] [stdout]     |                   ^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `axis_iter` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:252:45
[INFO] [stdout]     |
[INFO] [stdout] 252 |         for (feature_idx, feature) in train.axis_iter(Axis(1)).enumerate() {
[INFO] [stdout]     |                                             ^^^^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout]             `<(usize, usize) as Dimension>::Smaller = _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `column` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:263:34
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let best_feature = train.column(best_feature_idx);
[INFO] [stdout]     |                                  ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:270:36
[INFO] [stdout]     |
[INFO] [stdout] 270 |             let left_train = train.select(Axis(0), &left_data_idx);
[INFO] [stdout]     |                                    ^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:271:38
[INFO] [stdout]     |
[INFO] [stdout] 271 |             let left_target = target.select(Axis(0), &left_data_idx);
[INFO] [stdout]     |                                      ^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:272:37
[INFO] [stdout]     |
[INFO] [stdout] 272 |             let right_train = train.select(Axis(0), &right_data_idx);
[INFO] [stdout]     |                                     ^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:273:39
[INFO] [stdout]     |
[INFO] [stdout] 273 |             let right_target = target.select(Axis(0), &right_data_idx);
[INFO] [stdout]     |                                       ^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&ArrayBase<ViewRepr<&f64>, usize>`
[INFO] [stdout]    --> src/tree/model.rs:301:23
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 match test[feature] <= threshold {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `shape` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:313:32
[INFO] [stdout]     |
[INFO] [stdout] 313 |         let n_features = train.shape()[1];
[INFO] [stdout]     |                                ^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `shape` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:314:32
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let n_outputs = target.shape()[0];
[INFO] [stdout]     |                                ^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `iter` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/tree/model.rs:317:40
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let mut target_cloned = target.iter().cloned().collect::<Vec<f64>>();
[INFO] [stdout]     |                                        ^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `inner_iter` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:345:33
[INFO] [stdout]     |
[INFO] [stdout] 345 |                 let data = test.inner_iter()
[INFO] [stdout]     |                                 ^^^^^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree/model.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |                 Ok(Array::from_vec(data))
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found struct `Dim`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<_>, Dim<[usize; 1]>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `rows` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let index_matrix = Array::random((train.rows(), self.trees.len()),
[INFO] [stdout]    |                                                 ^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout]            `<(usize, usize) as Dimension>::Smaller = _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `rows` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:67:62
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...                   Range::new(0, train.rows()));
[INFO] [stdout]    |                                           ^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout]            `<(usize, usize) as Dimension>::Smaller = _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:76:38
[INFO] [stdout]    |
[INFO] [stdout] 76 |             let train_subset = train.select(Axis(0), indices.as_slice().unwrap());
[INFO] [stdout]    |                                      ^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select` exists for reference `&ArrayBase<OwnedRepr<f64>, usize>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |             let target_subset = target.select(Axis(0), indices.as_slice().unwrap());
[INFO] [stdout]    |                                        ^^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, usize>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `shape` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:94:40
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut df = Array::zeros(test.shape()[0]);
[INFO] [stdout]    |                                        ^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add `ArrayBase<OwnedRepr<f64>, usize>` to `ArrayBase<OwnedRepr<_>, _>`
[INFO] [stdout]   --> src/random_forest/model.rs:97:25
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 df = df + pred;
[INFO] [stdout]    |                         ^ no implementation for `ArrayBase<OwnedRepr<_>, _> + ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Add<ArrayBase<OwnedRepr<f64>, usize>>` is not implemented for `ArrayBase<OwnedRepr<_>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Dimension` is not satisfied
[INFO] [stdout]    --> src/random_forest/model.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |         df = df / (self.trees.len() as f64);
[INFO] [stdout]     |                 ^ the trait `Dimension` is not implemented for `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Div<f64>` for `ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Dimension` is not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:94:22
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut df = Array::zeros(test.shape()[0]);
[INFO] [stdout]    |                      ^^^^^^^^^^^^ the trait `Dimension` is not implemented for `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required by `ndarray::impl_constructors::<impl ArrayBase<S, D>>::zeros`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]   --> src/util/util.rs:42:38
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   .map(|&x| mat[x])
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/util/util.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |   pub fn noncontig_1d_slice(mat: &Col<f64>, indices: &[usize]) -> Col<f64> {
[INFO] [stdout]    |                                                                   -------- expected `ArrayBase<OwnedRepr<f64>, usize>` because of return type
[INFO] [stdout] 38 | /     Array::from_vec(indices.iter()
[INFO] [stdout] 39 | |                            .cloned()
[INFO] [stdout] 40 | |                            .collect::<Vec<_>>()
[INFO] [stdout] 41 | |                            .iter()
[INFO] [stdout] 42 | |                            .map(|&x| mat[x])
[INFO] [stdout] 43 | |                            .collect::<Vec<_>>())
[INFO] [stdout]    | |________________________________________________^ expected `usize`, found struct `Dim`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]               found struct `ArrayBase<OwnedRepr<_>, Dim<[usize; 1]>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `row` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/util/util.rs:69:30
[INFO] [stdout]    |
[INFO] [stdout] 69 |                          mat.row(x)
[INFO] [stdout]    |                              ^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `shape` exists for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/util/util.rs:70:49
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   .into_shape((1, mat.shape()[1]))
[INFO] [stdout]    |                                           ^^^^^ method cannot be called on `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ascii::AsciiExt`
[INFO] [stdout]  --> src/tfidf_helper/tfidf_helper.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 35 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0557, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsml`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4cfa6d501cd4dddd9f12c216f8a48f4415279703dd2c77cec209a746576299d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cfa6d501cd4dddd9f12c216f8a48f4415279703dd2c77cec209a746576299d3", kill_on_drop: false }`
[INFO] [stdout] 4cfa6d501cd4dddd9f12c216f8a48f4415279703dd2c77cec209a746576299d3
